home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DUProjects / Sample4 / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.3 KB  |  45 lines  |  [TEXT/CWIE]

  1. //    Copyright © 1995-96 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ ODF 1 $
  3.  
  4. #ifndef FRAME_H
  5. #define FRAME_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class CSample4Part;
  15. class DevUniv_STalker;
  16. class FW_CPictureShape; 
  17.  
  18. //=======================================================================
  19. class CSample4Frame : public FW_CFrame {
  20. public:
  21.     FW_DECLARE_AUTO(CSample4Frame)
  22.                         CSample4Frame(Environment* ev, 
  23.                                     ODFrame* odFrame, 
  24.                                     FW_CPresentation* presentation, 
  25.                                     CSample4Part* sample3Part);
  26.     virtual             ~CSample4Frame();
  27. protected:
  28. // overrides
  29.     virtual void        Draw(Environment *ev, 
  30.                              ODFacet* odFacet, 
  31.                              ODShape* invalidShape);
  32.     virtual FW_Boolean    DoMouseDown(Environment* ev, 
  33.                                     const FW_CMouseEvent& theMouseEvent);
  34.     virtual void        FrameShapeChanged(Environment* ev);
  35. // new members
  36.     virtual void         MyInitPicture(Environment* ev);
  37. private:
  38.     DevUniv_STalker*    fSOMTalker;    // SOM object for speech synthesis
  39.     FW_CRect             fFrameRect;
  40.     FW_CPictureShape*    fPictShape;    // Mr. Pizza
  41. };
  42.  
  43. //=======================================================================
  44. #endif
  45.